package com.hxs.hxsserver.domain.dto.device;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * SSE连接请求参数
 * @author liuchuan
 * @create 2024/9/25
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("设备控制请求参数")
public class DeviceSSEDto {

    @NotBlank
    @ApiModelProperty(value = "指令")
    private String command;

    @NotBlank
    @ApiModelProperty(value = "设备硬件地址")
    private String deviceHardwareAddr;

}
